package cn.toolck.springmvc.business.service.impl;

import cn.toolck.springmvc.business.controller.TestController;
import cn.toolck.springmvc.spring.annotation.MyAutowired;
import cn.toolck.springmvc.spring.annotation.MyService;
import cn.toolck.springmvc.business.service.DemoService;

/**
 * @ClassName DemoServiceImpl
 * @Description TODO
 * @Author Toolck Rin
 * @Date 2021/2/24 14:31
 * @Version 1.0
 **/
@MyService
public class DemoServiceImpl implements DemoService {
    @MyAutowired
    private TestController testController;

    @Override
    public String get(String name) {
        String result = "跳转成功！用户：" + name + "拥有此权限";
        System.out.println(result);
        return result;
    }
}
